Calculation of PPV and CO with two methods